home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / term4.lzh / MACRO.DOC < prev    next >
Text File  |  1990-07-03  |  2KB  |  66 lines

  1. This file contains notes about how macros work, both in function keys and
  2. in macro files.
  3.  
  4. To have the dialer automaticaly run a macro file after a connection do the
  5. following.  Change the comment field so that the 1st character is "#" 
  6. followed by the name of the file to execute followed by a space or an end
  7. of line.  Example
  8.  
  9. Comment: #forem.mac - Steve
  10. Comment: #caddis.mac
  11. Comment: #login.mac - CIS
  12. etc.
  13.  
  14. A macro command begins with the character "{" and ends with the character
  15. "}" anything else that is not between these 2 chars will be sent out to the
  16. modem.
  17.  
  18. The character "|" will be changed to a carriage return or carriage return
  19. and linefeed if linefeeds are on.
  20.  
  21. To include any of the special characters from interpretation proceed the
  22. character with a backslash "\".  This is usful if you wish to use the "|",
  23. "{", "}" characters without having them interpreted as something else.
  24. Example.  You want to send the string "this|is|a|test {again}" but don't
  25. want the "|" to be sent as a carriage return and you don't want again to be
  26. interpreted as a command.
  27.  
  28. this\|is\|a\|test\{again\}
  29.  
  30. A macro command the following format
  31. {command parameters}
  32. anything between the space and the "}" will be sent to "command" as a
  33. paramater.
  34.  
  35. Hitting the undo key while a macro is running will abort the macro.
  36. Function keys are considered to be a macro by this program.
  37.  
  38. Macro commands  
  39. --------------
  40. Both long form and short will be given followed by the form of the command.
  41. Command names may be in upper or lower case or both.
  42.  
  43. PAUSE, PA -  {pause xxx}
  44.  
  45. This command will pause xxx seconds.  Any keys hit on the keyboard will be
  46. sent to the modem and any characters comming in from the modem will be sent
  47. to the screen during this time.
  48.  
  49.  
  50. WAIT, WA - {wait this string}
  51.  
  52. This command will stop execution of a macro file or function key until
  53. "this string" is received by the modem.  The string waited for will be the
  54. first character after the space in the command name until the character 
  55. before the end of command character "}"
  56. Example
  57. {wa 1 2 3 4 5}  will wait for the string "1 2 3 4 5"
  58.  
  59.  
  60. GOTO, GO - {goto x}
  61.  
  62. This command will cause execution to goto function key x.  This command
  63. will not return after it executes.  It is a goto not a gosub.
  64. x can be any valid function key number (1-10 at this point in time)
  65.  
  66.